package spring_annotation.pojo;

import lombok.*;
import lombok.experimental.Accessors;
import spring_annotation.annotation.MyAnnotationClass;
import spring_annotation.annotation.MyAnnotationFiled;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Builder
@MyAnnotationClass(name = "t_object", type = "innodb")
public class TestObject {

    @MyAnnotationFiled(value = "id", type = "int", length = 10)
    private Integer id;

    @MyAnnotationFiled(value = "name", type = "varchar", length = 20)
    private String name;

    @MyAnnotationFiled(value = "age", type = "int", length = 10)
    private Integer age;

}
